

Array.prototype.mySome = function (callback) {
    for (let i = 0;i < this.length; i++) {
        if (callback(this[i],i,this)) {
            return true
        }
    }
    return false
}

const arr = [5, 8, 1, 3, 9]
console.log(arr.mySome((number) => {
    return number > 10;
}));
